package com.wangfugui.apprentice.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * (Student)表实体类
 *
 * @author makejava
 * @since 2025-06-12 10:36:08
 */
@Data
@TableName("t_student")
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String password;

    private Integer age;

    private Integer flag;
    //订购时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
    private String phone;
    private BigDecimal money;
}

